Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] Exploit the mangling flag #226

Closed
wants to merge 1 commit into from
Closed

Conversation

liamhuber
Copy link
Member

This depends on pyiron_base 1356, and turns off the automatic name mangling for NodeJob. There is certainly not a large corpus of workflow jobs depending on the old naming scheme, so this can be a patch.

@jan-janssen @srmnitc, I don't know what the timetable is for the DPG or whether base releases can get made sufficiently quickly to utilize this, but it is far and away preferable to #225, which is wrongly patching a problem in _base but only inside _workflow.

Copy link

Binder 👈 Launch a binder notebook on branch pyiron/pyiron_workflow/exploit_mangle_flag

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%) 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (6b60eb3) 3113 2701 86.77%
Head commit (b304c69) 3114 (+1) 2702 (+1) 86.77% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#226) 1 1 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8024520890

Details

  • 0 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.003%) to 91.431%

Files with Coverage Reduction New Missed Lines %
job.py 9 90.29%
Totals Coverage Status
Change from base Build 8008311321: 0.003%
Covered Lines: 5783
Relevant Lines: 6325

💛 - Coveralls

@liamhuber
Copy link
Member Author

This won't be necessary, the next version of base will jump straight to pyrion_base 1358, so we'll get the desired renaming behaviour by default and never need to exploit the mangling flag

@liamhuber liamhuber closed this Mar 7, 2024
@liamhuber liamhuber deleted the exploit_mangle_flag branch March 7, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants